package com.example.demo.config;

/**
 * <h3>wechat-token</h3>
 * <p></p>
 *
 * @author : zhengyue
 * @date : 2021-02-20 10:23
 **/
public class WechatConfig {
    /**
     * 微信小程序APPID
     */
    public static final String APPID = "APPID";
    /**
     * 微信小程序APPSECRET
     */
    public static final String APPSECRET = "APPSECRET";

    /**
     * 获取小程序全局唯一后台接口调用凭据（access_token）
     */
    public static final String AUTH_ACCESS_TOKEN_URL = "https://api.weixin.qq.com/cgi-bin/" +
            "token?grant_type=client_credential&appid=" + APPID + "&secret="
            + APPSECRET;
}
